﻿using System;

namespace diantou.web.include
{
    /// <summary>
    /// 邀请回答问题搜索
    /// </summary>
    [fastCSharp.code.cSharp.webView(IsPage = false, IsPool = true, QueryName = null)]
    partial class inviteSearch : search<inviteSearch>
    {
        /// <summary>
        /// 
        /// </summary>
        /// <param name="key"></param>
        /// <param name="questionId"></param>
        /// <returns></returns>
        private bool loadView(string key, int questionId)
        {
            if (currentUser != null)
            {
                results = diantou.dataAccess.tcpCall.searchItem.invite(new diantou.dataAccess.searchInfo { Keyword = this.key = search.FormatKey(key) }, currentUserId, questionId);
                return true;
            }
            return false;
        }
    }
}